from django.contrib.auth.models import AbstractUser
from django.db import models

# Create your models here.
class User(AbstractUser):
    phone = models.CharField(max_length=20, verbose_name="手机号码")
    email = models.CharField(max_length=50, verbose_name="邮箱")
    sex = models.IntegerField(verbose_name="性别：1=男｜2=女")
    ava = models.CharField(max_length=200, verbose_name="头像", null=True)
